package com.k2data.k2app.rest.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author lidong9144@163.com 17-3-20.
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Region implements Serializable {

    @Transient
    private static final long serialVersionUID = 3954439501876538275L;

    private Long id;
    private Long parentId;
    private Integer code;
    private String name;
    private String province;
    private String city;
    private String district;
    private String location;
    private Double longitude;
    private Double latitude;

}

